Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NContinuousMediaExporter<TContent> Class / SaveToFile Method / SaveToFile(NFile,NRectangle,Double) Method
The file to save to.
Bounding box of the area to be exported.
Resolution of the image.


In This Topic
    SaveToFile(NFile,NRectangle,Double) Method
    In This Topic
    Saves the given bounds of the document to the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveToFile( _
       ByVal file As NFile, _
       ByVal bounds As NRectangle, _
       ByVal dpi As System.Double _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NContinuousMediaExporter(Of TContent)
    Dim file As NFile
    Dim bounds As NRectangle
    Dim dpi As System.Double
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToFile(file, bounds, dpi)
    public NPromise<NUndefined> SaveToFile( 
       NFile file,
       NRectangle bounds,
       System.double dpi
    )

    Parameters

    file
    The file to save to.
    bounds
    Bounding box of the area to be exported.
    dpi
    Resolution of the image.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also